rust-bindings: Update cargo package list
authorColin Walters <walters@verbum.org>
Thu, 9 Jun 2022 18:59:44 +0000 (14:59 -0400)
committerColin Walters <walters@verbum.org>
Thu, 9 Jun 2022 19:50:17 +0000 (15:50 -0400)
commitd7802c27ddd6ffbb8c18cef459f5882a546499c0
tree34dbcf6fee6eb3328aafc27dcc3c44c34de8f6b6
parent61dd54f94091b2493afb1fa66e716acb7cd1aa15
rust-bindings: Update cargo package list

When we did the merger, it turns out cargo by default is basically
going to include all of stuff in the git repository root directory
which is "libostree".  We just want the stuff in `rust-bindings/`.

I initially tried adding `include = "rust-bindings/"` but
according to
https://doc.rust-lang.org/cargo/reference/manifest.html#the-exclude-and-include-fields
specifying `include` means that `exclude` is
ignored, which is kind of annoying.  Further, doing so *also*
turns off the cargo automatic rules for handling e.g. `gitignore`.

So for now I went with the approach of adding everything from the C
library stuff into `exclude/`.
Cargo.toml